package o;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.io.InputStream;
import o.vk.c;

public class vx implements vk<ve, InputStream> {
    public static final sb<Integer> ॱ = sb.ˎ("com.bumptech.glide.load.model.stream.HttpGlideUrlLoader.Timeout", Integer.valueOf(2500));
    @Nullable
    private final vj<ve, ve> ˊ;

    public static class d implements vr<ve, InputStream> {
        private final vj<ve, ve> ˋ = new vj(500);

        @NonNull
        public vk<ve, InputStream> ˏ(vo voVar) {
            return new vx(this.ˋ);
        }

        public void ॱ() {
        }
    }

    public /* synthetic */ boolean ˋ(@NonNull Object obj) {
        return ˏ((ve) obj);
    }

    public vx() {
        this(null);
    }

    public vx(@Nullable vj<ve, ve> vjVar) {
        this.ˊ = vjVar;
    }

    public c<InputStream> ˎ(@NonNull ve veVar, int i, int i2, @NonNull sc scVar) {
        if (this.ˊ != null) {
            ve veVar2 = (ve) this.ˊ.ˏ(veVar, 0, 0);
            if (veVar2 == null) {
                this.ˊ.ˊ(veVar, 0, 0, veVar);
            } else {
                veVar = veVar2;
            }
        }
        return new c(veVar, new ss(veVar, ((Integer) scVar.ॱ(ॱ)).intValue()));
    }

    public boolean ˏ(@NonNull ve veVar) {
        return true;
    }
}
